package cn.yunhe.service.impl;

import cn.yunhe.mapper.RoleUserPMapper;
import cn.yunhe.pojo.RoleUserPKey;
import cn.yunhe.service.RoleUserPKeyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoleUserPKeyServiceImpl implements RoleUserPKeyService {
    @Autowired
    private RoleUserPMapper roleUserPMapper;

    @Override
    public List<RoleUserPKey> listRoleUser(String id) {
        return roleUserPMapper.findAll(id);
    }
}
